home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 February / maximum-cd-2001-02.iso / Team Arena / TeamArenaDemo.exe / Main / pak0.pk3 / scripts / terrain.shader < prev    next >
Encoding:
Text File  |  2000-11-22  |  10.2 KB  |  638 lines

  1. //    *************************************************
  2. //    *          
  3. //    *   Vertex Lighting Replacement Shaders
  4. //    *    
  5. //    *************************************************
  6.  
  7. textures/terrain/vxmpterra2
  8.  
  9. {
  10.     surfaceparm nolightmap
  11.     q3map_novertexshadows
  12.     q3map_forcesunlight
  13.  
  14.  
  15.     {
  16.  
  17.         map textures/stone/pjrock10b_2.tga
  18.         rgbGen vertex
  19.         tcmod scale 0.125 0.125
  20.     }
  21.     
  22. }
  23.  
  24.  
  25. textures/terrain/vxmpterra1
  26.  
  27. {
  28.     surfaceparm nolightmap
  29.     q3map_novertexshadows
  30.     q3map_forcesunlight
  31.  
  32.  
  33.     {
  34.  
  35.         map textures/stone/pjrock12c.tga
  36.         rgbGen vertex
  37.         tcmod scale 0.125 0.125
  38.     }
  39.     
  40. }
  41.  
  42.  
  43. // *********************************************************
  44.  
  45. //    *************************************************
  46. //    *          
  47. //    *   MPTerra2 terrain shaders (PaulJ)
  48. //    *    
  49. //    *************************************************
  50.  
  51.  
  52. textures/terrain/mpterra2_0
  53.  
  54. {
  55.     surfaceparm nolightmap
  56.     q3map_novertexshadows
  57.     q3map_forcesunlight
  58.  
  59.     {
  60.  
  61.         map textures/stone/pjrock9b_2.tga
  62.         rgbGen vertex
  63.         tcmod scale 0.125 0.125
  64.     }
  65.     
  66.     {
  67.  
  68.                 map textures/skies2/clouds.tga
  69.         blendfunc filter
  70.                 detail
  71.         tcmod scale 0.01 0.01
  72.                 tcMod scroll -0.05 0.05
  73.         tcmod transform 1 0 1 1 1 1
  74.         
  75.     }
  76.  
  77.     
  78. }
  79.  
  80. textures/terrain/mpterra2_1
  81.  
  82. {
  83.     surfaceparm nolightmap
  84.     q3map_novertexshadows
  85.     q3map_forcesunlight
  86.  
  87.     {
  88.         
  89.         map textures/stone/pjrock12b_2.tga
  90.         rgbGen vertex
  91.         tcmod scale 0.1 0.1
  92.     
  93.     }
  94.  
  95.     {
  96.     
  97.                 map textures/skies2/clouds.tga
  98.         blendfunc filter
  99.         detail
  100.         tcmod scale 0.01 0.01
  101.                 tcMod scroll -0.05 0.05
  102.         tcmod transform 1 0 1 1 1 1
  103.         
  104.     }
  105.  
  106.  
  107. }
  108.  
  109. textures/terrain/mpterra2_2
  110. {
  111.     surfaceparm nolightmap
  112.     q3map_novertexshadows
  113.     q3map_forcesunlight
  114.  
  115.     {
  116.         
  117.         map textures/stone/pjrock10b_2.tga
  118.         tcmod scale 0.05 0.05
  119.         rgbGen vertex
  120.     }
  121.  
  122.     {
  123.                 map textures/skies2/clouds.tga
  124.         blendfunc filter
  125.         detail
  126.         tcmod scale 0.01 0.01
  127.                 tcMod scroll -0.05 0.05
  128.         tcmod transform 1 0 1 1 1 1
  129.         
  130.     }
  131.  
  132. }
  133.  
  134. textures/terrain/mpterra2_0to1
  135.  
  136. {
  137.     surfaceparm nolightmap
  138.     q3map_novertexshadows
  139.     q3map_forcesunlight
  140.  
  141.     {
  142.         map textures/stone/pjrock9b_2.tga
  143.         rgbGen vertex
  144.         alphaGen vertex
  145.         tcmod scale 0.125 0.125 
  146.     }
  147.  
  148.     {
  149.         map textures/stone/pjrock12b_2.tga
  150.         tcmod scale 0.1 0.1
  151.         rgbGen vertex
  152.         alphaGen vertex
  153.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  154.     }
  155.  
  156.     {
  157.                 map textures/skies2/clouds.tga
  158.         blendfunc filter
  159.         detail
  160.         tcmod scale 0.01 0.01
  161.                 tcMod scroll -0.05 0.05
  162.         tcmod transform 1 0 1 1 1 1        
  163.     }
  164.  
  165.  
  166. }
  167.  
  168. textures/terrain/mpterra2_0to2
  169. {
  170.     surfaceparm nolightmap
  171.     q3map_novertexshadows
  172.     q3map_forcesunlight
  173.     {
  174.         map textures/stone/pjrock9b_2.tga
  175.         rgbGen vertex
  176.         alphaGen vertex
  177.         tcmod scale 0.125 0.125
  178.     }
  179.     {
  180.         map textures/stone/pjrock10b_2.tga
  181.         rgbGen vertex
  182.         alphaGen vertex
  183.                 tcmod scale 0.05 0.05
  184.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  185.     }
  186.  
  187.     {
  188.                 map textures/skies2/clouds.tga
  189.         blendfunc filter
  190.         detail
  191.         tcmod scale 0.01 0.01
  192.                 tcMod scroll -0.05 0.05
  193.         tcmod transform 1 0 1 1 1 1
  194.         
  195.     }
  196.  
  197.  
  198. }
  199.  
  200. textures/terrain/mpterra2_1to2
  201. {
  202.     surfaceparm nolightmap
  203.     q3map_novertexshadows
  204.     q3map_forcesunlight
  205.  
  206.     {
  207.         map textures/stone/pjrock12b_2.tga
  208.         rgbGen vertex
  209.         alphaGen vertex
  210.         tcmod scale 0.1 0.1
  211.     }
  212.  
  213.     {
  214.         map textures/stone/pjrock10b_2.tga
  215.         tcmod scale 0.05 0.05
  216.         rgbGen vertex
  217.         alphaGen vertex
  218.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  219.     }
  220.  
  221.     {
  222.                 map textures/skies2/clouds.tga
  223.         blendfunc filter
  224.         detail
  225.         tcmod scale 0.01 0.01
  226.                 tcMod scroll -0.05 0.05
  227.         tcmod transform 1 0 1 1 1 1
  228.     }
  229.  
  230.  
  231. }
  232.  
  233. //////////////////////////////////////////////
  234. //                                          //
  235. //                x_mpterra                 //
  236. //                                          //
  237. //////////////////////////////////////////////
  238.  
  239. textures/terrain/vxmpterra3
  240.  
  241. {
  242.     surfaceparm nolightmap
  243.     //q3map_novertexshadows
  244.     //q3map_forcesunlight    
  245.     surfaceparm dust
  246.     {
  247.         map textures/proto2/px02.tga
  248.         tcmod scale .1 .1
  249.         rgbGen vertex
  250.     }
  251.  
  252. }
  253.  
  254.  
  255.  
  256. textures/proto2/xproto_0to1
  257.  
  258. {
  259.     surfaceparm nolightmap
  260.     //q3map_novertexshadows
  261.     //q3map_forcesunlight    
  262.         surfaceparm dust
  263.  
  264.     {
  265.         map textures/proto2/px01.tga
  266.         tcmod scale .1 .1
  267.         rgbGen vertex
  268.         
  269.     }
  270.  
  271.     {
  272.         map textures/proto2/px02.tga
  273.         rgbGen vertex
  274.         alphaGen vertex
  275.         tcmod scale .1 .1
  276.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  277.     }
  278.     
  279.     
  280. }
  281.  
  282. textures/proto2/xproto_1to2
  283.  
  284. {
  285.     surfaceparm nolightmap
  286.     //q3map_novertexshadows
  287.     //q3map_forcesunlight    
  288.         surfaceparm dust
  289.     {
  290.         map textures/proto2/px02.tga
  291.         tcmod scale .1 .1
  292.         rgbGen vertex
  293.         alphaGen vertex
  294.     }
  295.  
  296.     {
  297.         map textures/proto2/px03.tga
  298.         rgbGen vertex
  299.         alphaGen vertex
  300.         tcmod scale .1 .1
  301.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  302.     }
  303.  
  304.  
  305. }
  306.  
  307. textures/proto2/xproto_0to2
  308.  
  309. {
  310.     surfaceparm nolightmap
  311.     //q3map_novertexshadows
  312.     //q3map_forcesunlight    
  313.         surfaceparm dust
  314.  
  315.     {
  316.         map textures/proto2/px01.tga
  317.         tcmod scale .1 .1
  318.         rgbGen vertex
  319.     }
  320.     {
  321.         map textures/proto2/px03.tga
  322.         rgbGen vertex
  323.         alphaGen vertex
  324.         tcmod scale .1 .1
  325.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  326.     }
  327.  
  328.  
  329. }
  330.  
  331.  
  332.  
  333. textures/proto2/xproto_0
  334.  
  335. {
  336.     surfaceparm nolightmap
  337.     //q3map_novertexshadows
  338.     //q3map_forcesunlight    
  339.     surfaceparm dust
  340.  
  341.  
  342.     {
  343.         map textures/proto2/px01.tga
  344.         tcmod scale .1 .1
  345.         rgbGen vertex
  346.     }
  347.  
  348.     
  349.  
  350. }
  351.  
  352. textures/proto2/xproto_1
  353.  
  354. {
  355.     surfaceparm nolightmap
  356.     //q3map_novertexshadows
  357.     //q3map_forcesunlight    
  358.     surfaceparm dust
  359.     {
  360.         map textures/proto2/px02.tga
  361.         tcmod scale .1 .1
  362.         rgbGen vertex
  363.     }
  364.     
  365.     
  366.     
  367. }
  368.  
  369. textures/proto2/xproto_2
  370.  
  371. {
  372.     surfaceparm nolightmap
  373.     //q3map_novertexshadows
  374.     //q3map_forcesunlight    
  375.         surfaceparm dust
  376.     {
  377.         map textures/proto2/px03.tga
  378.         tcmod scale .1 .1
  379.         rgbGen vertex
  380.     }
  381.  
  382. }
  383.  
  384.  
  385.  
  386. //    *************************************************
  387. //    *          
  388. //    *   MPTerra1 terrain shaders (Tim)
  389. //    *    
  390. //    *************************************************
  391.  
  392. textures/terrain/mpterra1_0
  393. {
  394.     surfaceparm nolightmap
  395.     q3map_novertexshadows
  396.     q3map_forcesunlight    
  397.     {
  398.         map textures/stone/pjrock9c.tga
  399.         rgbGen vertex
  400.         tcmod scale 0.125 0.125
  401.     }
  402.     {
  403.                 map textures/skies2/clouds2.tga
  404.         blendfunc filter
  405.         tcmod scale 0.01 0.01
  406.                  tcMod scroll -0.1 0.1
  407.         
  408.     }
  409.     
  410. }
  411.  
  412. textures/terrain/mpterra1_1
  413. {
  414.     surfaceparm nolightmap
  415.     q3map_novertexshadows
  416.     q3map_forcesunlight    
  417.     {
  418.         map textures/stone/pjrock12c.tga
  419.         //tcmod transform 1 0 1 1 1 1
  420.         rgbGen vertex
  421.         tcmod scale 0.125 0.125 
  422.     }
  423.     {
  424.                 map textures/skies2/clouds2.tga
  425.         blendfunc filter
  426.         tcmod scale 0.01 0.01
  427.                 tcMod scroll -0.1 0.1
  428.         
  429.     }
  430.  
  431. }
  432.  
  433. textures/terrain/mpterra1_2
  434. {
  435.     surfaceparm nolightmap
  436.     q3map_novertexshadows
  437.     q3map_forcesunlight    
  438.     {
  439.         map textures/stone/pjrock10c.tga
  440.         tcmod scale 0.05 0.05 
  441.         rgbGen vertex
  442.     }
  443.     {
  444.                 map textures/skies2/clouds2.tga
  445.         blendfunc filter
  446.         tcmod scale 0.01 0.01
  447.                 tcMod scroll -0.1 0.1
  448.         
  449.     }
  450.  
  451. }
  452.  
  453. textures/terrain/mpterra1_0to1
  454. {
  455.     surfaceparm nolightmap
  456.     q3map_novertexshadows
  457.     q3map_forcesunlight    
  458.     {
  459.         map textures/stone/pjrock9c.tga    
  460.         rgbGen vertex
  461.         alphaGen vertex
  462.         tcmod scale 0.125 0.125 
  463.     }
  464.     {
  465.         map textures/stone/pjrock12c.tga
  466.         tcmod scale 0.125 0.125 
  467.         rgbGen vertex
  468.         alphaGen vertex
  469.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  470.     }
  471.     {
  472.                 map textures/skies2/clouds2.tga
  473.         blendfunc filter
  474.         tcmod scale 0.01 0.01
  475.                 tcMod scroll -0.1 0.1
  476.         
  477.     }
  478.  
  479. }
  480.  
  481. textures/terrain/mpterra1_0to2
  482. {
  483.     surfaceparm nolightmap
  484.     q3map_novertexshadows
  485.     q3map_forcesunlight    
  486.     {
  487.         map textures/stone/pjrock9c.tga
  488.         rgbGen vertex
  489.         alphaGen vertex
  490.         tcmod scale 0.125 0.125
  491.     }
  492.     {
  493.         map textures/stone/pjrock10c.tga
  494.         //tcmod transform 1 0 1 1 1 1
  495.         tcmod scale 0.05 0.05 
  496.         rgbGen vertex
  497.         alphaGen vertex
  498.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  499.     }
  500.     {
  501.                 map textures/skies2/clouds2.tga
  502.         blendfunc filter
  503.         tcmod scale 0.01 0.01
  504.                 tcMod scroll -0.1 0.1
  505.         
  506.     }
  507.  
  508. }
  509.  
  510. textures/terrain/mpterra1_1to2
  511. {
  512.     surfaceparm nolightmap
  513.     q3map_novertexshadows
  514.     q3map_forcesunlight    
  515.     {
  516.         map textures/stone/pjrock12c.tga
  517.         rgbGen vertex
  518.         alphaGen vertex
  519.         tcmod scale 0.125 0.125 
  520.     }
  521.     {
  522.         map textures/stone/pjrock10c.tga
  523.         //tcmod transform 1 0 1 1 1 1
  524.         tcmod scale 0.05 0.05 
  525.         rgbGen vertex
  526.         alphaGen vertex
  527.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  528.     }
  529.     {
  530.                 map textures/skies2/clouds2.tga
  531.         blendfunc filter
  532.         tcmod scale 0.01 0.01
  533.                 tcMod scroll -0.1 0.1
  534.         
  535.     }
  536. }
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543. // *********************************************************
  544. // MP Terra 3 Textures (Xian)
  545. // *********************************************************
  546.  
  547. textures/proto2/x_sandy01
  548. {
  549.     qer_editorimage textures/proto2/xsandy01.tga
  550.     surfaceparm nolightmap
  551.     {
  552.         map textures/proto2/xsandy01.tga
  553.         tcmod scale .8 .8
  554.         rgbGen vertex
  555.     }
  556. }
  557.  
  558. textures/proto2/x_rocky01
  559. {
  560.     qer_editorimage textures/proto2/xrocky01.tga
  561.     surfaceparm nolightmap
  562.     {
  563.         map textures/proto2/xrocky01.tga
  564.         tcmod scale .8 .8
  565.         rgbGen vertex
  566.     }
  567. }
  568.  
  569.  
  570. textures/proto2/tproto_0to1
  571. {
  572.     surfaceparm nolightmap
  573.     {
  574.         map textures/proto2/xsandy01.tga
  575.         tcmod scale .3 .3
  576.         rgbGen vertex
  577. //        rgbGen identity
  578.         alphaGen vertex
  579. //        alphaGen identity
  580.     }
  581.     {
  582.         map textures/proto2/xrocky01.tga
  583.         rgbGen vertex
  584. //        rgbGen identity
  585.         alphaGen vertex
  586. //        alphaGen identity
  587.         tcmod scale .1 .1
  588.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  589.     }
  590.  
  591. //        {
  592. //        map $lightmap
  593. //              blendFunc filter
  594. //        rgbGen identity
  595. //    }
  596.  
  597. }
  598.  
  599.  
  600. textures/proto2/tproto_0
  601. {
  602.     surfaceparm nolightmap
  603.     {
  604.         map textures/proto2/xsandy01.tga
  605.         tcmod scale .2 .2
  606.         rgbGen vertex
  607. //        rgbGen identity
  608.     }
  609.  
  610. //        {
  611. //        map $lightmap
  612. //                blendFunc filter
  613. //        rgbGen identity
  614. //    }
  615.  
  616.  
  617. }
  618.  
  619. textures/proto2/tproto_1
  620. {
  621.     surfaceparm nolightmap
  622.     {
  623.         map textures/proto2/xrocky01.tga
  624.         tcmod scale .1 .1
  625.         rgbGen vertex
  626. //        rgbGen identity
  627.     }
  628.  
  629. //        {
  630. //        map $lightmap
  631. //                blendFunc filter
  632. //        rgbGen identity
  633. //    }
  634.  
  635.  
  636. }
  637.  
  638.